import axios from "@/http/axios";

// 查询班主任信息
export const teacherLoginApi = () =>
  axios({
    url: "/exam/classAdviserMessage/getAll",
    method: "POST",
  });

// 查询项目经理信息,专业方向可选
// majorId: 非必填,表示专业方向编号:0-java 1-web 2-测试 3-安全 4-ui 5-嵌入式
export const projectManagerApi = (majorId?: number) =>
  axios({
    url: "/exam/projectManagerMessage/getAll",
    method: "POST",
    params: {
      majorId,
    },
  });

// 查询全部管理员信息
export const teacherAll = () =>
  axios({
    url: "/exam/adminMessage/selectAll",
    method: "GET",
  });
